﻿Partial Public Class LinkManager
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Request.QueryString("action") = "Edit" Then
            Dim control As New UI.Control
            control = Page.LoadControl("~/Control/LinkEdit.ascx")
            pnlControl.Controls.Add(control)
        Else
            Dim control As New UI.Control
            control = Page.LoadControl("~/Control/LinkList.ascx")
            pnlControl.Controls.Add(control)
        End If
    End Sub
End Class